console.log('cao mayanh');
function sleep(delay) {
  var start = (new Date()).getTime();
  while ((new Date()).getTime() - start < delay) {
    continue;
  }
}
//document.querySelector("iqpdiv").remove();
//window.onload=function(){
//sleep(1000);
//var script = document.createElement("script");script.type = "text/javascript";script.src = "https://libs.baidu.com/jquery/2.0.0/jquery.min.js?t="+new Date();document.body.appendChild(script);

//$("iqpdiv").remove();

//document.getElementById("flashbox").innerHTML = '<iframe width="100%" height="100%" src="https://api.jiexi.la/?url='+window.location.href+'" frameborder="0" scrolling="no" allowfullscreen="" allowtransparency="true"></iframe>';
//}

var div = document.createElement("div");
div.innerHTML ='<a id="ddd" href="javascript:aa();"></a>';

document.body.insertBefore(div, document.body.firstElementChild);
var script = document.createElement("script");script.type = "text/javascript";script.text = 'function aa(){console.log(112233);document.querySelector("iqpdiv").remove();document.getElementById("flashbox").innerHTML = \'<iframe width="100%" height="100%" src="https://api.jiexi.la/?url=\'+window.location.href+\'" frameborder="0" scrolling="no" allowfullscreen="" allowtransparency="true"></iframe>\';}';document.body.appendChild(script);
window.onload=function(){
setTimeout(function(){ document.getElementById('ddd').click(); }, 3500);

}